(ns order.orders
(:import [com.ib.client Order Contract]) 

)

(defprotocol OrderIntf
  "Inteface for creating market orders"
  (placeOrder [id, #^Contract contract, #^Order order])
  (void reqOpenOrders())
  )

(defrecord OrderImpl[]
  OrderIntf
 (placeOrder [id, #^Contract contract, #^Order order])
  (void reqOpenOrders())
  )